import 'package:flutter/material.dart';

class CircleAvatarExps extends StatelessWidget {
  const CircleAvatarExps({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
          child: Center(
        child: Column(
          children: [
            CircleAvatar(
              radius: 30,
              child: Icon(
                Icons.person,
                color: Colors.grey,
                size: 36,
              ),
              backgroundColor: Colors.grey.withOpacity(0.3), // 背景色
            ),
            CircleAvatar(
              radius: 30,
              backgroundImage:
                  NetworkImage('https://chasech.top/avatar.png'),
            ),
          ],
        ),
      )),
    );
  }
}
